package com.wshare.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wshare.dao.interfaces.IRoleDao;
import com.wshare.entity.Role;
import com.wshare.service.interfaces.IRoleService;

@Service
public class RoleServiceImpl implements IRoleService{

	@Autowired
	IRoleDao roleDao;
	
	@Override
	public List<Role> getByCol(String col, Object val) {
		return roleDao.getByCol(col, val);
	}

}
